﻿<UserControl x:Class="devtm.Editor.TypeSelector.AttributeBuilder.TitleChoosePropertyLastUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:Height="19" d:DesignWidth="140" d:DesignHeight="19">
   
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="25" />
            <ColumnDefinition Width="430*" />
        </Grid.ColumnDefinitions>
        
        <Label Padding="10,0,0,0"
               x:Name="Img" 
               FontWeight="Bold" FontSize="16" />

        <Image Visibility="{Binding AddVisibility}" MouseDown="Image_MouseDown" HorizontalAlignment="Left" Source="/devtm.Editor.TypeSelector;component/Images/AddParameter.png" Width="111" Grid.Column="1"  />

        <ComboBox Grid.Column="1" MinWidth="109"  x:Name="MyComboList" DisplayMemberPath="Name" LostFocus="MyComboList_LostFocus" ItemsSource="{Binding Properties}" Visibility="{Binding ComboVisibility}" SelectionChanged="MyComboList_SelectionChanged" DropDownClosed="MyComboList_DropDownClosed" />
        
    </Grid>
</UserControl>
